body{
	font: 400 10pt / 22px "微软雅黑", "宋体", Arial, Verdana;
	overflow: hidden;
}
ul, li, pre, div, h4, p{
	padding: 0;
	margin: 0;
}

input[type="button"], button, .button {
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#fffffd), to(#f0f0f0));
	background-image: -moz-linear-gradient(top, #fffffd, #f0f0f0);
	border: 1px solid #d2d2d0;
	margin: 7px 10px 0 0;
	padding: 2px 8px;
	border-radius: 3px;
	cursor: pointer;
}

input[type="button"]:hover, button:hover, .button:hover{
	border: 1px solid #99bdd7;
	box-shadow: 0 0 1px 1px #c2eeff;
}

.hidden{
	display: none;
}

#playerTools .number b,#xgameBox .number b{
	color: red;
}

#main{
	border: solid 1px #bdc7d9;
	border-radius: 3px;
	margin: 0 auto;
	background-image: -moz-linear-gradient(top, #fff, #eee);
	background-image: -webkit-linear-gradient(top, #fff, #eee);
	position: absolute;
	top: 0;
	left: 0;
	width: 760px;
	height: 475px;
}
#playerTools{
	height: 32px;
}
#messageBox ul{
	height: 100px;
}

#messageBox li, #letterBox li{
	overflow: hidden;
	border-bottom: 1px solid #ddd;
}

#messageBox li p, #letterBox li p{
	 word-wrap: break-word;
	 white-space: pre-wrap;
}

#messageBox .nick, #playerBox .nick, #letterBox .nick{
	color: #111;
	margin: 0 5px 0 0;
}
#messageBox .self .nick, #playerBox .self .nick, #letterBox .self .nick{
	color: blue;
	font-weight: bold;
}

#messageBox .id, #playerBox .id, #letterBox .id{
	color: #e0e;
}

#messageBox .time{
	margin: 0 5px;
	font-style: italic;
	color: #777;
}

#messageList{
	border: solid 1px #bdc7d9;
	border-radius: 3px;
	height: 228px;
	margin: 5px 0;
	overflow: auto;
	padding: 5px;
}

#editorTools button{
	bottom: 7px;
	position: absolute;
	right: 5px;
}

#editorTools label{
	margin: 5px 0;
	position: absolute;
}

.tools button{
	float: right;
}

#playerBox{
	border: solid 1px #bdc7d9;
	border-radius: 3px;
	padding: 5px;
	margin: 5px;
	background: #fff;
	width: 230px;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
}

#playerList{
	border: solid 1px #bdc7d9;
	border-radius: 3px;
	overflow: auto;
	height: 115px;
}

#playerBox li{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#playerBox .state{
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0 3px;
	border-radius: 3px;
	border: solid 1px #bdc7d9;
}

#playerBox .letter, #messageBox .letter, #letterBox .reply{
	cursor: pointer;
	font-size: 9pt;
	color: #fff;
	margin: 0 3px;
	border-radius: 2px;
	background-image: -moz-linear-gradient(bottom, #fff, #000);
	background-image: -webkit-linear-gradient(bottom, #fff, #000);
	visibility: hidden;
}

#playerBox li:hover .letter, #messageBox li:hover .letter, #letterBox li:hover .reply{
	visibility: visible;
}

#playerBox li.self:hover .letter, #messageBox li.self:hover .letter, #letterBox li.self:hover .reply{
	visibility: hidden;
}

#playerBox .online .state{
	background-image: -moz-linear-gradient(bottom, #fff, green);
	background-image: -webkit-linear-gradient(bottom, #fff, green);
}
#playerBox .offline .state{
	background-image: -moz-linear-gradient(bottom, #fff, #ddd);
	background-image: -webkit-linear-gradient(bottom, #fff, #ddd);
}
#playerBox .busy .state{
	background-image: -moz-linear-gradient(bottom, #fff, red);
	background-image: -webkit-linear-gradient(bottom, #fff, red);
}
#playerBox .offline .nick{
	font-style: italic;
}

#playerBox li:hover{
	background-image: -webkit-linear-gradient(top, #f2f7fd, #eff6ff);
	background-image: -moz-linear-gradient(top, #f2f7fd, #eff6ff);
}

#playerBox li.focus{
	background-image: -webkit-linear-gradient(top, #f2f7fd, #eff6ff);
	background-image: -moz-linear-gradient(top, #f2f7fd, #eff6ff);
}

#playerBox li a{
	text-decoration: none;
}

#editor{
    bottom: 6px;
    position: absolute;
    resize: none;
    width: 168px;
}
h4{
	border-radius: 3px;
	padding: 0 5px;
	background-image: -moz-linear-gradient(left, rgb(204,232,255), #fff);
	background-image: -webkit-linear-gradient(left, rgb(204,232,255), #fff);
}

.masks{
	position: absolute;
	left: 0;
	top: 0;
	width:100%;
	height:100%;
	z-index: 10;
	background-color: rgba(127, 127, 127, .2);
}


.dialog {
	position: relative;
	top: 40px;
	width: 288px;
	height: 154px;
	z-index: 12;
	margin: 0 auto;
	border: solid 1px #bdc7d9;
	border-radius: 3px;
	background-image: -moz-linear-gradient(top, #fff, #eee);
	background-image: -webkit-linear-gradient(top, #fff, #eee);
}

.dialog .box{
	position: absolute;
	border-width: 24px 50px 17px 48px;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}

.dialog .head{
	position: absolute;
	top: 0;
	left: 1px;
	right: 1px;
	height: 25px;
	border-radius: 3px;
	background-image: -moz-linear-gradient(left, rgb(204,232,255), #fff);
	background-image: -webkit-linear-gradient(left, rgb(204,232,255), #fff);
}

.dialog .content{
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 40px;
	top: 25px;
	color: #666;
}

.dialog .foot{
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 1px;
	height: 38px;
	border-top: solid 1px #e7e7e7;
	text-align: right;
	background: #fdfdfd;
	border-radius: 0 0 3px 3px;
}

.dialog .head .title{
	text-shadow: 1px 1px 0 #fff;
	color: #000;
	font-weight: bold;
	line-height: 24px;
	margin-left: 10px;
}

.dialog .panel{
	margin: 10px;
}
.dialog .panel textarea{
	height: 68px;
	width: 263px;
	resize: none;
}
.dialog .close{
	display: inline-block;
	cursor: pointer;
	width: 10px;
	height: 10px;
	margin: 5px;
	border-radius: 3px;
	background-image: -moz-linear-gradient(top, rgb(204,232,255), #f00);
	background-image: -webkit-linear-gradient(top, rgb(204,232,255), #f00);
	border: solid 1px #bdc7d9;
	float: right;
}

#letterBox .dialog{
	width: 300px; 
	height: 350px;
}

#letterBox .dialog .content{
	border: 1px solid #BDC7D9;
	border-radius: 3px 3px 3px 3px;
	margin: 5px 0;
	overflow: auto;
	padding: 5px;
}

#letterBox li.old{
	background-color: #ddd;
}

#xgameBox{
	left: 70px;
	position: absolute;
	top: 18px;
}

#xgameBox li{
	overflow: hidden;
	float: left;
}

#xgameBox li button{
	cursor: pointer;
	border-radius: 3px;
	background-image: -moz-linear-gradient(top, rgb(204,232,255), #0f0);
	background-image: -webkit-linear-gradient(top, rgb(204,232,255), #0f0);
	border: solid 1px #bdc7d9;
	margin-top: 1px;
	padding: 0 3px;
}

#xgameBox li.voted button{
	cursor: default;
	background-image: -moz-linear-gradient(top, rgb(204,232,255), #ddd);
	background-image: -webkit-linear-gradient(top, rgb(204,232,255), #ddd);
}

#main span.weibo{
	background: url(http://img.t.sinajs.cn/t4/style/images/common/ico_expand.png) no-repeat 0 -40px;
	display: inline-block;
	width: 16px;
	height: 16px;
}

#zhouziBox{
	
}
.player1 #player1, .player2 #player2{
	color: red;
}
#zhouziBox.player1 .zhouzi2{
	cursor: pointer;
}
#zhouziBox.player2 .zhouzi2, #zhouziBox.player2 .zhouzi0{
	cursor: pointer;
}

#zhouziBox .zhouzi1{
	background: url(../images/zhouzi45x45-1.png);
}
#zhouziBox.flash .zhouzi1{
	background: url(../images/zhouzi45x45-2.png);
}
#zhouziBox.win .zhouzi1{
	background: url(../images/zhouzi45x45-3.png);
}
#zhouziBox.lost .zhouzi1{
	background: url(../images/zhouzi45x45-4.png);
}
#zhouziBox .zhouzi2{
	background: green;
	opacity: 0.2;
}
#zhouziBox .zhouzi3{
	background: blue;
	opacity: 0.2;
}
#zhouziBox .star.zhouzi0{
	background: gray;
	opacity: 0.2;
}
#zhouziBox .star.zhouzi2{
	background: yellow;
	opacity: 0.2;
}
#zhouziBox .star.zhouzi3{
	background: blue;
	opacity: 0.2;
}
#zhouziBox{
	-moz-user-select: none;
	-moz-touch-callout: none; 
	-webkit-user-select: none;
	-webkit-touch-callout: none; 
}
#zhouziBox ul li{
	border: 1px solid #BDC7D9;
	border-radius: 3px 3px 3px 3px;
	overflow: hidden;
	width: 45px;
	height: 45px;
	position: absolute;
}
